<template>
  <div>
    <ZgDialog
      :width="view.width"
      :top="view.top"
      :title="view.title"
      :showFooter="view.showFooter"
      v-model="visible"
    >
      <div v-if="initLoading">
        正在初始化配置数据...
      </div>
      <div v-else>
        <div v-if="!hasInit">
          初始化配置数据失败
        </div>
        <div :style="{padding:`${layout.视图边距}px`}">
          印章设计器
        </div>
      </div>
    </ZgDialog>
  </div>
</template>
<script>
export default {

  data () {
    return {
      visible: false,
      hasInit: true,
      initLoading: false,
      layout: {
        视图边距: 0
      },
      view: {
        width: '1100px',
        top: '5%',
        title: '印章设计器',
        showFooter: false
      }

    }
  },
  mounted () {
  },
  methods: {

    open () {
      this.visible = true
    }

  }
}
</script>

<style lang="scss" scoped>
</style>
